/*
 *  $Id: FaerieLight.cs 1051 2010-05-18 22:10:41Z thenn.erannor $
 *  This file is a part of Ragima CCG.
 *  (C) 2008 Ragima development group.
 *
 *  Licensed under the terms of the GNU GPL License version 2.
 *
 */

namespace Ragima.Cards001.Air.Abilities {
    public class FaerieLight: AbilityCard {
        public FaerieLight(): base("001_a_a_faerie_light") {
            Level = CompleteLevel.ReadyForTest;
            Element = ElementType.Air;
            AddManaCost(ElementType.Air, 1);
            TapCreatureAfterUse = false;
        }

        public override void DoAction(TargetArgs args) {
            args.Caster.AddAffect<FaerieLightAffect>();
        }

        private class FaerieLightAffect: SpellAffect<FaerieLight> {
            public FaerieLightAffect(): base() {
                Add(new TimeAffect(4, new Affects.Spirit()));
            }
        }
    }
}
